package edu.njit.hz278.core.web;

import java.io.IOException;
import java.lang.reflect.InvocationTargetException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.codehaus.jackson.JsonParseException;
import org.codehaus.jackson.map.JsonMappingException;

/**
 * 
 * @author Rivers Zhang
 *
 */
public interface Invoker {
	void perform(HttpServletRequest req, HttpServletResponse resp)
			throws JsonParseException, JsonMappingException,
			InstantiationException, IllegalAccessException, IOException,
			IllegalArgumentException, InvocationTargetException;
}
